package com.weishi.pay.api.exception;

import com.weishiinfo.commons.exception.ErrorCodeEntry;

public class PayErrors {

	public static final ErrorCodeEntry NOAUTH = new ErrorCodeEntry("PAY10000", 503, "商户未开通此接口权限,请商户前往申请此接口权限");
	public static final ErrorCodeEntry NOTENOUGH = new ErrorCodeEntry("PAY10001", 503, "用户帐号余额不足 ");
	public static final ErrorCodeEntry ORDERPAID = new ErrorCodeEntry("PAY10002", 503, "商户订单已支付，无需重复操作");
	public static final ErrorCodeEntry ORDERCLOSED = new ErrorCodeEntry("PAY10003", 503, "当前订单已关闭，无法支付");
	public static final ErrorCodeEntry SYSTEMERROR = new ErrorCodeEntry("PAY10004", 503, "系统异常，请用相同参数重新调用");
	public static final ErrorCodeEntry APPID_NOT_EXIST = new ErrorCodeEntry("PAY10005", 503, "APPID不存在");
	public static final ErrorCodeEntry MCHID_NOT_EXIST = new ErrorCodeEntry("PAY10006", 503, "MCHID不存在");
	public static final ErrorCodeEntry APPID_MCHID_NOT_MATCH = new ErrorCodeEntry("PAY10007", 503, "appid和mch_id不匹配");
	public static final ErrorCodeEntry LACK_PARAMS = new ErrorCodeEntry("PAY10008", 503, "缺少必要的请求参数,请检查参数是否齐全");
	public static final ErrorCodeEntry OUT_TRADE_NO_USED = new ErrorCodeEntry("PAY10009", 503, "同一笔交易不能多次提交,请核实商户订单号是否重复提交");
	public static final ErrorCodeEntry SIGNERROR = new ErrorCodeEntry("PAY10010", 503, "参数签名结果不正确");
	public static final ErrorCodeEntry REQUIRE_POST_METHOD = new ErrorCodeEntry("PAY10011", 503, "未使用post传递参数");
	public static final ErrorCodeEntry POST_DATA_EMPTY = new ErrorCodeEntry("PAY10012", 503, "post数据不能为空");
	public static final ErrorCodeEntry NOT_UTF8 = new ErrorCodeEntry("PAY10013", 503, "未使用指定编码格式");
	public static final ErrorCodeEntry XML_FORMAT_ERROR = new ErrorCodeEntry("PAY10014", 503, "XML格式错误");
	public static final ErrorCodeEntry MQ_SENDERROR = new ErrorCodeEntry("PAY10015", 503, "mq发送失败");
	public static final ErrorCodeEntry PAY_SQL_UPDATE_FAIL = new ErrorCodeEntry("PAY10016", 503, "支付记录更新失败");
	public static final ErrorCodeEntry PAY_PAYORDER = new ErrorCodeEntry("PAY10017", 503, "统一下单失败");
	public static final ErrorCodeEntry REFUND_ERROR = new ErrorCodeEntry("PAY10018", 503, "该订单不能退款，未成功或者与 原金额，用户不匹配");
	public static final ErrorCodeEntry NULL_ORDER = new ErrorCodeEntry("PAY10020", 503, "未查询到订单");
	public static final ErrorCodeEntry REFUND_COMMON_ERROR = new ErrorCodeEntry("PAY10019", 503, "退款异常");


}
